AgencyDocumentType 
EntityType  Independent 
Logical Entity Name  AgencyDocumentType 
Default Table Name  CmDocTypeByAgency 
Logical Only  NO 
Definition 
 
Note 
 

AgencyDocumentType Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
AgencyId(FK)    INTEGER  YES 
 
DocumentTypeId(FK)    INTEGER  NO 
 
LastModifiedUserId    INTEGER  NO 
 
CreatedDateTime    DATETIME  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
IsActive    BIT  NO 
 
ModFlag    CHAR(1)  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 
AgencyDocumentTypeId(PK)    INTEGER  NO 
 

AgencyDocumentType Keys 
Key Name  Key Type  Keys 
CmDocTypeByAgency_CmDocTypeID_N_N_IDX  Inversion Entry  DocumentTypeId 
CmDocTypeByAgency_CmDocTypeByAgencyID_U_C_IDX  PrimaryKey  AgencyDocumentTypeId 

AgencyDocumentType Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
Agency  Non-Identifying  Zero or One to Zero or More        AgencyId  NO 
DocumentType  Non-Identifying  Zero or One to Zero or More        DocumentTypeId  NO 
DocumentType  Non-Identifying  One To Zero or More        DocumentTypeId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 

AgencyDocumentType Check Constraints 
Check Constraint Name  CheckConstraint